<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        table {
            border-collapse: collapse;
            width: 600px;
            text-align: center;

        }

        th {
            background-color: #f2f2f2;
            padding: 10px;
            border: 1px solid grey;
        }

         td {
            border: 1px solid grey;
            padding: 8px;
        }
    </style>
</head>

<body>
    <table>
        <thead>
            <tr>
                <th>编号</th>
                <th>科目</th>
                <th>成绩</th>
                <th>操作</th>
            </tr>
        </thead>
        <tbody>
            <tr>
                <td>1</td>
                <td>语文</td>
                <td>32</td>
                <td>操作</td>
            </tr>
            <tr>
                <td>1</td>
                <td>语文</td>
                <td>32</td>
                <td>操作</td>
            </tr>
            <tr>
                <td>1</td>
                <td>语文</td>
                <td>32</td>
                <td>操作</td>
            </tr>
            <tr>
                <td>1</td>
                <td>语文</td>
                <td>32</td>
                <td>操作</td>
            </tr>
        </tbody>
        <tfoot>
            <tr>
                <td colspan="4">总分:243 &nbsp;&nbsp;平均分82</td>
            </tr>
        </tfoot>
    </table>
</body>

</html>